package com.situ.personal.service.impl;

import java.util.List;

import com.situ.personal.dao.IDepartmentDao;
import com.situ.personal.dao.impl.DepartmentDaoImpl;
import com.situ.personal.entity.Department;
import com.situ.personal.service.IDepartmentService;
import com.situ.personal.vo.DepartmentCountVO;

public class DepartmentServiceImpl implements IDepartmentService {
	private IDepartmentDao departmentDao = new DepartmentDaoImpl();

	@Override
	public List<Department> selectAll() {
		return departmentDao.selectAll();
	}

	@Override
	public List<DepartmentCountVO> count() {
		return departmentDao.count();
	}

}